package top.laoliu.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.laoliu.mapper.AdminMapper;
import top.laoliu.pojo.Admin;
import top.laoliu.service.AdminService;

import java.util.List;

/**
 * @Author: acer
 * @Date: 2020/10/6 15:51
 * @Description:
 */
@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;

    @Override
    public List<Admin> getAllAdmins() {
        return adminMapper.getAllAdmins();
    }
}
